package com.sbeam.service;

import com.sbeam.pojo.Factory;
import com.sbeam.vo.PageResult;

import java.util.List;

public interface FactoryService {
    List<Factory> getFactoryList();

    List<Factory> findFactoryByName(String searchKey);

    int addFactory(Factory factory);

    int updateFactoryStatus(Factory factory);

    int updateFactory(Factory factory);

    int deleteFactoryById(Integer id);

    //按厂商搜索
    PageResult getFactory(PageResult pageResult);
}
